<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: URL::Param类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d6/dfe/class_u_r_l.html">URL</a></li><li class="navelem"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="../../d9/d04/class_u_r_l_1_1_param-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">URL::Param类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a>&gt;</code></p>
<div class="dynheader">
URL::Param 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/de5/class_u_r_l_1_1_param__coll__graph.png" border="0" usemap="#a_u_r_l_1_1_param_coll__map" alt="Collaboration graph"/></div>
<map name="a_u_r_l_1_1_param_coll__map" id="a_u_r_l_1_1_param_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,213,443"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aca3f63e6a07fb5982085a911cdd54484" id="r_aca3f63e6a07fb5982085a911cdd54484"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aca3f63e6a07fb5982085a911cdd54484">Param</a> ()</td></tr>
<tr class="memdesc:aca3f63e6a07fb5982085a911cdd54484"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认的构造  <br /></td></tr>
<tr class="separator:aca3f63e6a07fb5982085a911cdd54484"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10a0776eb3d74da05e33fe94a696ce74" id="r_a10a0776eb3d74da05e33fe94a696ce74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a10a0776eb3d74da05e33fe94a696ce74">Param</a> (const std::string &amp;query)</td></tr>
<tr class="memdesc:a10a0776eb3d74da05e33fe94a696ce74"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造参数对象，并解析参数串  <br /></td></tr>
<tr class="separator:a10a0776eb3d74da05e33fe94a696ce74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afefc4a32a809bfc35ef6f01b071f05cc" id="r_afefc4a32a809bfc35ef6f01b071f05cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afefc4a32a809bfc35ef6f01b071f05cc">Param</a> (const <a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;b)</td></tr>
<tr class="separator:afefc4a32a809bfc35ef6f01b071f05cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b17fb2fb22abfbc2b6249bad63fcb27" id="r_a2b17fb2fb22abfbc2b6249bad63fcb27"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2b17fb2fb22abfbc2b6249bad63fcb27">Param</a> (<a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&amp;b)</td></tr>
<tr class="separator:a2b17fb2fb22abfbc2b6249bad63fcb27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560556dfcf071ed2e4ed30b0cab70c6" id="r_a4560556dfcf071ed2e4ed30b0cab70c6"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4560556dfcf071ed2e4ed30b0cab70c6">~Param</a> ()</td></tr>
<tr class="separator:a4560556dfcf071ed2e4ed30b0cab70c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33a252e81b3af415896975c7b51296e4" id="r_a33a252e81b3af415896975c7b51296e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a33a252e81b3af415896975c7b51296e4">operator=</a> (const <a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;b)</td></tr>
<tr class="separator:a33a252e81b3af415896975c7b51296e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af298c76f08e14eb9f319d319c4ef8acf" id="r_af298c76f08e14eb9f319d319c4ef8acf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af298c76f08e14eb9f319d319c4ef8acf">operator=</a> (<a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&amp;b)</td></tr>
<tr class="separator:af298c76f08e14eb9f319d319c4ef8acf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a241a58ccdc6ca919a396b79de1bcba03" id="r_a241a58ccdc6ca919a396b79de1bcba03"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a241a58ccdc6ca919a396b79de1bcba03">operator()</a> (const std::string &amp;query)</td></tr>
<tr class="memdesc:a241a58ccdc6ca919a396b79de1bcba03"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析参数串，并更新对象  <br /></td></tr>
<tr class="separator:a241a58ccdc6ca919a396b79de1bcba03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bf666918903e7546360dba83cac1ba5" id="r_a4bf666918903e7546360dba83cac1ba5"><td class="memItemLeft" align="right" valign="top">const std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4bf666918903e7546360dba83cac1ba5">operator[]</a> (const std::string &amp;name)</td></tr>
<tr class="memdesc:a4bf666918903e7546360dba83cac1ba5"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取变量值  <br /></td></tr>
<tr class="separator:a4bf666918903e7546360dba83cac1ba5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bf89c1fa41afad1ad46219a9c04b1fb" id="r_a9bf89c1fa41afad1ad46219a9c04b1fb"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a9bf89c1fa41afad1ad46219a9c04b1fb">size</a> ()</td></tr>
<tr class="memdesc:a9bf89c1fa41afad1ad46219a9c04b1fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取变量数量  <br /></td></tr>
<tr class="separator:a9bf89c1fa41afad1ad46219a9c04b1fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a736a33cc72370c02bceb012ded0402cd" id="r_a736a33cc72370c02bceb012ded0402cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a736a33cc72370c02bceb012ded0402cd">clear</a> ()</td></tr>
<tr class="memdesc:a736a33cc72370c02bceb012ded0402cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">清除内容  <br /></td></tr>
<tr class="separator:a736a33cc72370c02bceb012ded0402cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a335f0c42027da5fe9a8e914a11e77e7e" id="r_a335f0c42027da5fe9a8e914a11e77e7e"><td class="memItemLeft" align="right" valign="top">std::map&lt; std::string, std::string &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a335f0c42027da5fe9a8e914a11e77e7e">find</a> (const std::string &amp;key)</td></tr>
<tr class="memdesc:a335f0c42027da5fe9a8e914a11e77e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找指定变量名  <br /></td></tr>
<tr class="separator:a335f0c42027da5fe9a8e914a11e77e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1801234161b93a022c11a3f25b641ae8" id="r_a1801234161b93a022c11a3f25b641ae8"><td class="memItemLeft" align="right" valign="top">std::map&lt; std::string, std::string &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1801234161b93a022c11a3f25b641ae8">end</a> ()</td></tr>
<tr class="memdesc:a1801234161b93a022c11a3f25b641ae8"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取叠代器结束位置  <br /></td></tr>
<tr class="separator:a1801234161b93a022c11a3f25b641ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a6c2d2c15339e0edffcdea34e81f51761" id="r_a6c2d2c15339e0edffcdea34e81f51761"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6c2d2c15339e0edffcdea34e81f51761">URL</a></td></tr>
<tr class="separator:a6c2d2c15339e0edffcdea34e81f51761"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00029">29</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aca3f63e6a07fb5982085a911cdd54484" name="aca3f63e6a07fb5982085a911cdd54484"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca3f63e6a07fb5982085a911cdd54484">&#9670;&#160;</a></span>Param() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">URL::Param::Param </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>默认的构造 </p>

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00146">146</a> 行定义.</p>

</div>
</div>
<a id="a10a0776eb3d74da05e33fe94a696ce74" name="a10a0776eb3d74da05e33fe94a696ce74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10a0776eb3d74da05e33fe94a696ce74">&#9670;&#160;</a></span>Param() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URL::Param::Param </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>query</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造参数对象，并解析参数串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query,参数字符串</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">如果解析失败拋出ERR_PARSE_QUERY</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00152">152</a> 行定义.</p>

</div>
</div>
<a id="afefc4a32a809bfc35ef6f01b071f05cc" name="afefc4a32a809bfc35ef6f01b071f05cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afefc4a32a809bfc35ef6f01b071f05cc">&#9670;&#160;</a></span>Param() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URL::Param::Param </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00161">161</a> 行定义.</p>

</div>
</div>
<a id="a2b17fb2fb22abfbc2b6249bad63fcb27" name="a2b17fb2fb22abfbc2b6249bad63fcb27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b17fb2fb22abfbc2b6249bad63fcb27">&#9670;&#160;</a></span>Param() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URL::Param::Param </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00166">166</a> 行定义.</p>

</div>
</div>
<a id="a4560556dfcf071ed2e4ed30b0cab70c6" name="a4560556dfcf071ed2e4ed30b0cab70c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4560556dfcf071ed2e4ed30b0cab70c6">&#9670;&#160;</a></span>~Param()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">URL::Param::~Param </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00171">171</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a736a33cc72370c02bceb012ded0402cd" name="a736a33cc72370c02bceb012ded0402cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a736a33cc72370c02bceb012ded0402cd">&#9670;&#160;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void URL::Param::clear </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清除内容 </p>

<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00085">85</a> 行定义.</p>

</div>
</div>
<a id="a1801234161b93a022c11a3f25b641ae8" name="a1801234161b93a022c11a3f25b641ae8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1801234161b93a022c11a3f25b641ae8">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; std::string, std::string &gt;::iterator URL::Param::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>读取叠代器结束位置 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00103">103</a> 行定义.</p>

</div>
</div>
<a id="a335f0c42027da5fe9a8e914a11e77e7e" name="a335f0c42027da5fe9a8e914a11e77e7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a335f0c42027da5fe9a8e914a11e77e7e">&#9670;&#160;</a></span>find()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; std::string, std::string &gt;::iterator URL::Param::find </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找指定变量名 </p>
<dl class="section return"><dt>返回</dt><dd>变量map的叠代器 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00094">94</a> 行定义.</p>

</div>
</div>
<a id="a241a58ccdc6ca919a396b79de1bcba03" name="a241a58ccdc6ca919a396b79de1bcba03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a241a58ccdc6ca919a396b79de1bcba03">&#9670;&#160;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool URL::Param::operator() </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>query</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>解析参数串，并更新对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">query,参数串</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true， 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00063">63</a> 行定义.</p>

</div>
</div>
<a id="a33a252e81b3af415896975c7b51296e4" name="a33a252e81b3af415896975c7b51296e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33a252e81b3af415896975c7b51296e4">&#9670;&#160;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">URL::Param</a> &amp; URL::Param::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00174">174</a> 行定义.</p>

</div>
</div>
<a id="af298c76f08e14eb9f319d319c4ef8acf" name="af298c76f08e14eb9f319d319c4ef8acf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af298c76f08e14eb9f319d319c4ef8acf">&#9670;&#160;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">URL::Param</a> &amp; URL::Param::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/dd8/class_u_r_l_1_1_param.html">Param</a> &amp;&amp;</td>          <td class="paramname"><span class="paramname"><em>b</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00180">180</a> 行定义.</p>

</div>
</div>
<a id="a4bf666918903e7546360dba83cac1ba5" name="a4bf666918903e7546360dba83cac1ba5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bf666918903e7546360dba83cac1ba5">&#9670;&#160;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string URL::Param::operator[] </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>读取变量值 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>，变量名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>变量值 @excpetion 如果变量名称空， 拋出ERR_EMPTY_PARAM_KEY </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">如果变量不存在，</td><td>拋出ERR_KEY_NOT_EXIST </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00213">213</a> 行定义.</p>

</div>
</div>
<a id="a9bf89c1fa41afad1ad46219a9c04b1fb" name="a9bf89c1fa41afad1ad46219a9c04b1fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bf89c1fa41afad1ad46219a9c04b1fb">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t URL::Param::size </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>读取变量数量 </p>
<dl class="section return"><dt>返回</dt><dd>变量数量 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a> 第 <a class="el" href="../../d6/d0e/url_8cpp_source.html#l00225">225</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">友元及相关符号说明</h2>
<a id="a6c2d2c15339e0edffcdea34e81f51761" name="a6c2d2c15339e0edffcdea34e81f51761"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c2d2c15339e0edffcdea34e81f51761">&#9670;&#160;</a></span>URL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="../../d6/dfe/class_u_r_l.html">URL</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a> 第 <a class="el" href="../../d5/d3a/url_8hpp_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../d5/d3a/url_8hpp_source.html">url.hpp</a></li>
<li>src/<a class="el" href="../../d6/d0e/url_8cpp_source.html">url.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
